package com.thiswhyme.republish.rabbitmq.core.domain;

/**
 * @description: 自定义消息头
 * @author: thiswhyme
 * @date: 2021/1/29
 */
public class PublishMqHeaders {

    /**
     * 重试次数header-发送失败重试
     */
    public static final String HEADER_SEND_RETRY_TIMES = "biz-republish-times";

    /**
     * 重试消息唯一标识
     */
    public static final String HEADER_RETRY_UNIQUE_ID = "biz-republish-unique-id";

    /**
     * 重试次数header-消费失败重试
     */
    public static final String HEADER_RECEIVE_RETRY_TIMES = "biz-retry-times";
}
